Dynomotion

Group: DynoMotion Message: 11333 From: cnc_machines Date: 4/9/2015
Subject: Following Error Log
Greetings,

I am using a Kstep running closed loop with steppers. For some reason I am being plagued with following errors on one of my axises. I have the max following error set at 30, and when I test movement in the step response screen the max following error that I get is 8. I have also slowed everything down for CNC movements so that I shouldnt be getting errors there.

I cant think of what else to check. I am considering making a separate program that will write out the following error for each axis as I run a CNC program. Maybe this would help me troubleshoot where the problem is happening. Has anyone already tried something like this? Do you think I would have bandwidth problems on the USB port using KMotion and writing these files at the same time?

Thanks,

Scott


Group: DynoMotion Message: 11345 From: Tom Kerekes Date: 4/10/2015
Subject: Re: Following Error Log
Hi Scott,

A good approach for this is to write a KFLOP program to continuously capture motion and then "trigger" on a Following Error greater than some size and then stop and upload the captured motion up to a disk file.  You can then look through and or plot the data with something like MS Excel to understand exactly what happened.  See the CaptureXYZMotionTrigger.c example.  You may need to modify it slightly to record your axis of interest and to record any other useful data.

HTH
Regards
TK